package cn.iocoder.yudao.framework.pay.core.client.impl.pax.model;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import lombok.Data;

@Data
public class PaxCreatePrePayOrderResponse {

    private String paxPrepayId;

    private String merchantTradeNo;

    private String qrContent;

    private String pcWebUrl;

    private String mobileH5Url;

    private String callPayMethodExpend;

    private Long orderCreateTime;

    @Data
    public static class BinanceCallPayMethodExpend {
        @NotEmpty(message = "certSn cannot be empty")
        private String certSn;

        @NotNull(message = "merchantId cannot be empty")
        private Long merchantId;

        @NotEmpty(message = "noncestr cannot be empty")
        private String noncestr;

        @NotEmpty(message = "prepayId cannot be empty")
        private String prepayId;

        @NotNull(message = "timeStamp cannot be empty")
        private Long timeStamp;

        @NotEmpty(message = "signature cannot be empty")
        private String signature;
    }
}
